﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DotNetExtensions.Core.Extensions
{
    public static class StringExtensions
    {
        public static int ToInt(this string hex)
        {
            return Convert.ToInt32(hex, 16);
        }
    }
}
